<?php 
namespace Application\Model;

class Application
{
	public $id;
	public $artist;
	public $title;

	public function exchangeArray($data)
	{
		//var_dump('ok');
		$this->id     = (!empty($data['id'])) ? $data['id'] : null;
		$this->label = (!empty($data['label'])) ? $data['label'] : null;
		$this->title  = (!empty($data['title'])) ? $data['title'] : null;
	}
}